* {
  margin: 0;
  padding: 0;
}
#app {
  height: 100vh;
  overflow-x: hidden;
}
/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
/* 滑块样式 */
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3); /* 鼠标悬停在滑块上时滑块的颜色 */
}
/* 滚动条轨道样式 */
::-webkit-scrollbar-track {
  background-color: transparent;
}
/* 搜索表单 */
.search-form {
  padding: 8px;
  background-color: #ffffff;
  .search-form-btn {
    float: right;
  }
  .ant-form-item {
    margin-bottom: 12px;
  }
}

.header-cell-required {
  position: relative;
  margin-left: 8px;
  &::before {
    content: "*";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translate(-4px, -40%);
    color: #ff0000;
  }
}

/* 分页器样式 */
.ant-table-pagination {
  margin-right: 16px !important;
}

/* 表格表头样式 */
.ant-table-thead > tr > th {
  color: @primary-color !important;
}

/* a-button type="link" 文本颜色 */
.ant-btn-link {
  color: @primary-color;
  &:active {
    color: @primary-color !important;
  }
  &:hover {
    color: @primary-color !important;
  }
}

.ant-spin {
  max-height: 100vh !important;
}
